/*公共样式*/
*{padding:0; margin:0;}
html,body{width:100%;height: 100%;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}
.clearfix{*zoom:1}
.cred{color:#f03e3e;}
.cgreen{color:#459d36;}
.hide{display:none;}
.fr{float: right;}
.fl{float: left;}
.rela{position: relative;}
.abs{position:absolute;}
*{font-family: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;}

/*登录界面*/
.login-wrap{
    background:#FFFFFF;
    width:100%;
    height:100%;
    text-align:center;
}
.login-con{
    position: relative;
    display: block;
    margin: auto;
    /* margin-top: 5%; */
    width: 48%;
}
#loadingDiv{
  position: fixed;
  z-index: 2000;
  top:40px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}
@media(min-width:768px){
.sendcode{
   position: absolute;
   top: 7px;
   left: 101%;
}

/*表情按钮*/
#imgPic,#emoji,#hongbao,#changeRoom,#makeVideo,#managerSheet,#notice,#member {
    line-height: 100%;
    width: 35px;
    height: 35px;
    margin-right: 30px;
    background-size: auto 35px !important;
}
#notice,#member{
  font-size: 30px;
  line-height: 35px;
  color: #777;
}

.adapt-sendImage {
    height: 35px;
    margin-right: 20px;
    width: 35px;
}

.glyBtn{
  height: 35px !important;
  width: 35px !important;
  /* background: url(/public/images/gly.png) no-repeat center top !important; */
  background-size: auto 35px !important;
}

}
@media (max-width:768px ) {
    .login-con{
        width:88%;
    }
    .sendcode{
        margin: 10px 0px;
     }

     /*表情按钮*/
#imgPic,#emoji,#hongbao,#changeRoom,#makeVideo,#managerSheet,#notice,#member {
    line-height: 100%;
    width: 30px;
    height: 30px;
    margin-right: 30px;
    background-size: auto 30px !important;
}
#notice,#member{
  font-size: 28px;
  line-height: 30px;
  color: #777;
}
.glyBtn{
  height: 30px !important;
  width: 30px !important;
  /* background: url(/public/images/gly.png) no-repeat center top !important; */
  background-size: auto 30px !important;
}

.adapt-sendImage {
    height: 35px;
    margin-right: 5px;
    width: 35px;
}
    
}

.login-con input{
    margin-top: 20px;}

    .disabled { pointer-events: none; }
/*聊天界面*/
.chat-wrap{width: 100%; height: 100%; background:#f7f7f7; text-align:center;}
.chat-con {
    background: #f7f7f7;
    position: fixed;
    width: 100%;
    bottom: 85px;
    top: 40px;
    overflow-y: scroll;
}
.member-con{
  top: 0px;
  position: fixed;
  bottom: 85px;
  background: white;
  width: 250px;
  right: 0px;
  overflow-y: scroll;
}
.inner-container::-webkit-scrollbar {     display: none; }

.chat-con p{display:inline-block; padding:5px 10px; background:#999;border-radius:5px; color:#fff; margin:5px 0;}
    
.bottom{position:fixed;bottom:0px; left: 0; width:100%;padding: 0px 6px;z-index:1000;}

.bottom input{width: 63%; height: 50px; line-height: 50px; float:left;border:none;}
.bottom button{transform: translate(5%); width: 20%;height: 50px; float: right; border:none; background:#0ebc62;color: #fff;}

.chat-item{width:100%; margin-bottom:20px;margin-top: 5px; overflow-wrap: break-word;}
.item-right .message{background: #95ec69; margin-top:20px;}
.item-right .nickName{font-size:12px; right:60px; top:0; }
.item-right .img{margin-left:10px;}
.item-left .message{background: #fff; margin-top:20px;}
.item-left .img{margin-right:10px;}
.item-left .nickName{font-size:12px; left:60px; top:0; }
.chat-item .message{max-width:35%;display:block; padding:10px;border-radius:5px;text-align: left;}
.chat-item .imgavatar{display:inline-block; width:40px; height:40px;margin: 0 10px; background-repeat: no-repeat; background-size:100% 100%;}


/*聊天室顶栏*/
.tabheader {
    display: flex;
    position: fixed; 
    z-index: 100; 
    width: 100%; 
    height: 40px; 
    justify-content: space-around;
    align-items: center;
    background:#eee;
    cursor: pointer;
}

.to-new-message{
    margin-bottom:50px;
    position: fixed;
    left: 50%;
    bottom: 0px;
    width: 200px;
    height: 6%;
    background: rgba(255, 255, 255, 0);
}

.emoji {
    width: 50px;
    height: 100%;
    margin-right: 10px;
}
.emojiImg{
  height:26px;
  position: relative;
  top: -2px;
}

#emojiWrapper {
    border-radius: 5px;
    display: none;
    width: 100vw;
    bottom: 90px;
    position: absolute;
    background-color: #28a6a499;
    box-shadow: 0 0 10px #555;
    z-index:1000;
}
#emojiWrapper img {
    margin: 2px;
    padding: 2px;
    width: 35px;
    height: 35px;
}
#emojiWrapper img:hover {
    background-color: rgba(31, 180, 226, 0.815);
}

#headportrait {
    border-radius: 5px;
    display: none;
    width: 100%;
    position: absolute;
    background-color: #28a6a499;
    box-shadow: 0 0 10px #555;
    z-index: 10;
}
#headportrait img {
    margin: 2px;
    padding: 2px;
    width: 60px;
    height: 60px;
}
#headportrait img:hover {
    background-color: rgba(31, 180, 226, 0.815);
}
.showHeadprotrait {
    position: relative;
    width: 100%;
}
.showHeadprotrait p{
    font-size: 18px;
    position: absolute;
    top: 50%;
}
#defaultHead {
    margin-top: 1%;
    width: 20%;
    height: 20%;
}

.items {
    height: 30px;
}

#sendtxt {
    width: 80%;
    height: 100%;
    line-height: 100%;
    
}


/*图片按钮*/
#fake {
        position: relative;
        top: -35px;
        left: 0px;
        width: 100%;
        height: 100%;
        line-height: 100%;
}
#sendImage {
    width: 100%;
    opacity: 0;
    position: relative;
    height:100%;
}


footer {
    overflow: hidden;
    padding-right: 5px;
}
video{
  z-index: 1;
}
.tabfooter{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 0px;  
    width: 100%;
    height: 40px;  
    cursor:pointer;
    z-index:1000;
}
.threetab{
    width: 35%;
    background: #eeeeee;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.activetop{
    color: #38c9f3;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.activebottom{
    background: #38c9f3;
    height: 100%;
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.middlenav{
    position: fixed;
    top: 40px;
    width: 100%;
    bottom: 40px;
    background:#f7f7f7;
    overflow-y: scroll;
    padding-bottom: 10px;
}
.onlinediv{
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 0.5px solid #e8e8e8;
    margin: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.onlineimg{
    height: 40px;
}
.onlinemanage{
    width: 15%;
    text-align: start;
}
.onlinespanname{
    width: 40%;
    text-align: start;    
}
.selfone{
    width: 80%;
    text-align: left;
    padding-left: 5vw;
}
.selftwo{
    width: 20%;
    text-align: left;
}
.selfclick{
    padding: 5px;
    border: 1px solid #38c9f3;
    border-radius: 3px;
    color: #38c9f3;
    cursor: pointer;
}
.sendone{
    display:flex;
    height: 40px;


}
.sendtwo{
    display: flex;
    height: 35px;
    margin: 5px 0px;
    overflow-y: scroll;
    overflow: visible;
    overflow-y: visible;
    cursor: pointer;
}
.sendtwo>div{
 flex-shrink: 0;
}
.sendtwo>input{
    flex-shrink: 0;
   }



.divide{
    height: 50px;
    font-size: 14px;
    padding-left: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .dividetop{
    width:95%; 
  }
  .divideone{
    width: 30%;
    display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 5px;
  }
  .dividetwo{
    width: 60%;
  }
  .inputphone{
    width: 100%;
  height: 30px;
   border: solid 1px #d0d0d0;
  box-shadow: rgba(0, 0, 0, 0.1);
    line-height: 30px;
    padding: 2px;
    margin: 0px;
  background: white;
  }
  .group-avatar{
      width: 40px;
    height: 40px;
    margin-right: 5px;
    border-radius: 50%;
  }
  .rpnav{
    height: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .rpname{
     font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 50%;
    text-align: left;
    white-space: nowrap;
    word-break: break-all;
  }
  .dividebtn{
    height: 30px;
    margin-left: 10px;
}
.drawbtn{
    border: 1px solid #eee;
  }
.hbtext{
    position: absolute;
    top: 120px;
    width: 175px;
    font-weight: 700;
    color: #FEE094;
    }

    .withnav{
        width: 100%;
        display: flex;
        flex-direction: column;
      font-size: 14px;
      background: white;
      margin-bottom: 10px;
      justify-content: space-around;
      padding: 10px;
      box-sizing: border-box;
      text-align: left;
      padding-left: 20px;
      }     
      .withbtn{
        height: 35px;
        display: flex;
        flex-direction: row;
        align-items: center;
      }
      .changenav{
        width: 100%;
        height: 80px;
        display: flex;
        flex-direction: column;
      font-size: 14px;
      background: white;
      margin-bottom: 10px;
      justify-content: space-around;
      padding: 10px;
      box-sizing: border-box;
      padding-left: 20px;
      text-align: left;
      }

      .right{
        width: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
      }
      .left{
      width: 70%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      overflow: hidden;
      text-overflow: ellipsis;
      }
      .noticediv{
        /* height: 120px; */
        background: white;
        text-align: left;
        padding: 10px 10px;
        margin-bottom: 10px;
      }
      #sendVoice{
        width: 80%;
        height: 100%;
        line-height: 40px;
        border: 1px solid #bbb;
        border-radius: 5px;
        font-size: 18px;
        text-align:center;
        -webkit-touch-callout:none;
         -webkit-user-select:none;
        -khtml-user-select:none;
        -moz-user-select:none;
        -ms-user-select:none;
        user-select:none;

      }
      #voiceImg{
        border: 0.7px solid #707070;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-right: 5px;
      }
      .roomdiv{
      border:1px solid #eee;
      box-sizing:border-box;
      margin:2vw;
      background: black;
      cursor: pointer;
      }
      .roomdivbottom{
        font-size: 18px;
        position: absolute;
        top: 40%;
        width: 88%;
        color: white;
      }
      @media(min-width:768px){
          .roomImage{
        width: 100%;
        height: 200px;
        opacity: 0.7;
      }
      .formP{
        height:46px;
        line-height:46px;
        float: left;
        width: 18%;
        text-align:left;
        font-size: 18px;
      }
      .formInput{
        width: 82%;
        margin-bottom: 20px;
      }
      .portraitImg{
        margin-left: 18%;
    }




      }
      @media(max-width:768px){
          .roomImage{
        width: 100%;
        height: 150px;
        opacity: 0.7;
         }

         .formP{
            height:46px;
            line-height:46px;
            float: left;
            width: 27%;
            text-align:left;
            font-size: 16px;
          }
          .formInput{
            width: 73%;
            margin-bottom: 20px;
          }
          .portraitImg{
              margin-left: 27%;
          }
          .chat-item .message{
            font-size: 18px;
            max-width:65%;
          }




      }

      #roomCanSpeak{
        width:100%;
        height:100%;
        z-index:5000;
        background:rgba(0,0,0,0.4);
        position:absolute;
        text-align:center;
        padding-top:40vh;
        color:white;
      }

  .modalDialog{
    max-width: 80vw;
    min-width: 200px;
    margin: auto;
    top: 50%;
    transform: translatey(-50%) !important;
  }
  .voiceAnimate{
    animation: mymove 3s infinite;
  }
  @keyframes mymove {
      100% {transform: rotateX(720deg);}
  }

.chat-con::-webkit-scrollbar {     display: none; }
#showchatroom::-webkit-scrollbar {     display: none; }
.member-con::-webkit-scrollbar{display:none;}

::-webkit-scrollbar {
  /*隐藏滚动条*/
  display: none;
}
/* ie隐藏滚动条 */
.chat-con,#grouprpDetail{
        -ms-scroll-chaining: chained;
        -ms-overflow-style: none;
        -ms-content-zooming: zoom;
        -ms-scroll-rails: none;
        -ms-content-zoom-limit-min: 100%;
        -ms-content-zoom-limit-max: 500%;
        -ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);
        -ms-overflow-style: none;
        overflow: auto;
}
.chat-con{
  overflow-x: hidden;
}
#largeimgdiv{
  z-index:1000;
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
}
#largeimg{
  max-width: 95%;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  width: auto;
  height: auto;
}